package com.sangmo.fts.authority.meta;

import com.sangmo.fts.common.authority.Rights;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Repeatable(value = ClazzMemberAnns.class)
public @interface ClazzMemberAnn {
    String name() default "";
    String clazzId();
    String anyPerms() default "";
    int anyRights() default Rights.READ;
}
